﻿<?xml version="1.0" encoding="utf-8" ?> 
<!-- http://saxon.sourceforge.net/saxon6.5.3/expressions.html
Some examples of NodeSet Expressions are listed below:

XXX                 Selects all immediate child elements with tag XXX 
*                   Selects all immediate child elements (but not character data within the element) 
../TITLE            Selects the TITLE children of the parent element 
XXX[@AAA]           Selects all XXX child elements having an attribute named AAA 
*[last()]           Selects the last child of the current element 
*/ZZZ               Selects all grandchild ZZZ elements  
XXX[ZZZ]            Selects all child XXX elements that have a child ZZZ 
XXX[@WIDTH and not(@WIDTH="20")] 
                    Selects all child XXX elements that have a WIDTH attribute whose value is not "20" 
/*                  Selects the outermost element of the document 
//TITLE             Selects all TITLE elements anywhere in the document 
ancestor::SECTION   Selects the innermost containing SECTION element 
ancestor::SECTION/@TITLE 
                    Selects the TITLE attribute of the innermost containing SECTION element 
./@*                Selects all attributes of the current element 



-->
<ss>
  <Query1>
  六十四卦/爻[地支/五行/@ID=2]/@ID
</Query1>
  
</ss>